package itheima.d05;

public class Test {

    public static void main(String[] args) throws ClassNotFoundException {
        Class<Dog> dogClass = Dog.class;
        System.out.println(dogClass);


        Class<?> aClass = Class.forName("itheima.d05.Dog");
        System.out.println(aClass);




        Dog dog = new Dog();
        Class<? extends Dog> aClass1 = dog.getClass();
        System.out.println(aClass1);
    }
}
